package com.ruoyi.business.request;

import com.ruoyi.common.annotation.Excel;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @author liutao
 * @version 1.0
 * @description: TODO
 * @date 2024/3/17 18:47
 */
@Data
public class TaskPointReq {
    private Long id;
    @NotEmpty(message = "点位名称不能为空")
    private String pointName;
    /** 经度 */
    @NotNull(message = "点位经度不能为空")
    private BigDecimal longitude;

    /** 纬度 */
    @NotNull(message = "点位纬度不能为空")
    private BigDecimal latitude;
}
